﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Runtime.Serialization;

namespace WCFMINERP.Contracts.DataContracts
{
    [DataContract]
    public class OrderBagInfo
    {
        [DataMember]
        public int OrderbagID;

        [DataMember]
        public int SerialNum;

        [DataMember]
        public string OrderbagName;

        [DataMember]
        public string RARName;

        [DataMember]
        public int ShopId;

        [DataMember]
        public DateTime OrderTime;

        [DataMember]
        public DateTime FetchTime;

        [DataMember]
        public int Status;

        [DataMember]
        public int Priority;

        [DataMember]
        public decimal PrePriceCount;

        [DataMember]
        public string Remark;

        /// <summary>
        /// Order.ShopName;
        /// </summary>
        [DataMember]
        public string ShopName { get; set; }

        [DataMember]
        public List<OrderInfo> orderinfoList { get; set; }
        [DataMember]
        public ShopInfo shopinfo { get; set; }
         [DataMember]
        /// <summary>
        /// 客户名称集合，用','号隔开
        /// </summary>
        public string ctmNames { get; set; }

    }
    [DataContract]
    public class OrderBagTransferFile : OrderBagInfo
    {
        [DataMember]
        public string ShopName;
    }
}
